package com.oig.sys.workflow.app;

import com.oig.sys.workflow.dto.ApprovalAgentReqDto;
import com.oig.sys.workflow.vo.InstanceAllInfoVo;
import com.oig.sys.workflow.vo.ApprovalAgentRsp;

public interface IAppFlowInstanceService {

    ApprovalAgentRsp apply(ApprovalAgentReqDto approvalAgentReqDto);

    InstanceAllInfoVo getDetail(ApprovalAgentReqDto approvalAgentReqDto);
    String cancel(ApprovalAgentReqDto approvalAgentReqDto);

    void updateFlowInstanceStatus(String flowCode, String instanceId, String instanceStatus);


    void notifyInstanceStatus(Integer id);

}
